package com.ubi.core.base;

/**
 * 返回
 *
 * @author : lvh
 * @date: 16-01-29
 */
public class BaseMessage {

    private Integer code = 200;

    private Object message;


    public BaseMessage() {
    }

    public BaseMessage(Integer code) {
        this.code = code;
    }

    public BaseMessage(Integer code, Object message) {

        this.code = code;
        this.message = message;
    }

    public BaseMessage(Integer code, Object message, String data) {
         this.code = code;
        this.message = message;
    }



    public Integer getCode() {

        return code;
    }

    public void setCode(Integer code) {

        this.code = code;
    }

    public Object getMessage() {

        return message;
    }

    public void setMessage(Object message) {

        this.message = message;
    }
}
